package net.it721.feignconsumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("${hello-service.service-id}")
public interface HelloServiceClient {
    @GetMapping("hello")
    Response<List<Book>> hello();

}
